package com.bawei.video

import com.bawei.base.BaseApplication
import com.bawei.room.DBUtil
import com.facebook.drawee.backends.pipeline.Fresco
import dagger.hilt.android.HiltAndroidApp

/**
 * Author: Jason Zhang
 * Date: 2025/1/9
 * Desc: 应用入口
 */

@HiltAndroidApp
class VideoApp: BaseApplication() {

    @Override
    override fun onCreate() {
        super.onCreate()
        Fresco.initialize(this)


        //初始化数据库
        DBUtil.initRoomDB(applicationContext) //使用应用的上下文
    }


}